package com.diaohw.platform.remote.metadata.obj.bo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serial;
import java.io.Serializable;
import java.util.List;

/**
 * 数据字典 VO
 *
 * @author D-Hw
 * @since 2024-09-20
 */
@Data
@Accessors(chain = true)
@Schema(name = "DictionaryDO VO", description = "数据字典 VO")
public class DictionaryBO implements Serializable {


    @Serial
    private static final long serialVersionUID = 1L;
    /**
     * 主键ID
     */
    @Schema(description = "ID")
    private String id;

    /**
     * 字典名称
     */
    @Schema(description = "字典名称")
    private String dictionaryName;

    /**
     * 字典编码
     */
    @Schema(description = "字典编码")
    private String dictionaryCode;

    /**
     * 字典描述
     */
    @Schema(description = "字典描述")
    private String description;

    /**
     * 是否显示;0：否；1：是
     */
    @Schema(description = "是否显示;0：否；1：是")
    private Integer display;

    /**
     * 备注
     */
    @Schema(description = "备注")
    private String remark;

    @Schema(description = "子项")
    private List<DictionaryItemBO> children;
}
